Skip to content

Differenciate signaturePrototype and inheritancePrototype#4945

Open
VincentLanglet wants to merge 5 commits intophpstan:2.1.xfrom
VincentLanglet:fix11067
Open

Differenciate signaturePrototype and inheritancePrototype#4945
VincentLanglet wants to merge 5 commits intophpstan:2.1.xfrom
VincentLanglet:fix11067

Conversation

@VincentLanglet
Copy link
Contributor

@VincentLanglet VincentLanglet commented Feb 15, 2026

@VincentLanglet VincentLanglet marked this pull request as ready for review February 16, 2026 13:54
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.


/**
* @return array{ExtendedMethodReflection, ClassReflection, bool}|null
* Finds the prototype method that a class method should be validated against.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we started describing the return type, I think it would be usefull to also describe what the bool means

Copy link
Contributor

@staabm staabm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't really judge the fix, but fixing 3 bugs at once seems to prove it looks good :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants